<template>
  <div>
    <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
      <van-swipe-item
        v-for="item in $store.state.HandPick.handData.banner"
        :key="item.id"
        >
        <van-image
          :src="item.url"
        />
      </van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
export default {
  name: 'Slideshow',
  components: {

  },
  data () {
    return {

    }
  },
  watch: {

  },
  mounted () {
    console.log(this.$store.state.HandPick)
  },
  methods: {

  }
}

</script>
<style scoped lang='scss'>
  .my-swipe .van-swipe-item {
    color: #fff;
    font-size: 20px;
    // line-height: 230px;
    text-align: center;
    // background-color: #39a9ed;
  }
</style>
